github.com/google/go-cmp/cmp.textRecord.Value (field)

44 uses

	github.com/google/go-cmp/cmp (current package)
		report_compare.go#L147: 				list = append(list, textRecord{Diff: '-', Value: outx})
		report_compare.go#L150: 				list = append(list, textRecord{Diff: '+', Value: outy})
		report_compare.go#L268: 				list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
		report_compare.go#L316: 				list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
		report_compare.go#L328: 				list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
		report_compare.go#L340: 				list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
		report_compare.go#L351: 					list = append(list, textRecord{Diff: diffRemoved, Key: formatKey(r.Key), Value: outx})
		report_compare.go#L355: 					list = append(list, textRecord{Diff: diffInserted, Key: formatKey(r.Key), Value: outy})
		report_compare.go#L360: 				list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
		report_references.go#L123: 				walkNodes(r.Value, f)
		report_reflect.go#L206: 			list = append(list, textRecord{Key: sf.Name, Value: s})
		report_reflect.go#L239: 			list = append(list, textRecord{Value: s})
		report_reflect.go#L273: 			list = append(list, textRecord{Key: sk, Value: sv})
		report_reflect.go#L337: 		list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
		report_reflect.go#L341: 				list = append(list, textRecord{Diff: opts.DiffMode, Value: textEllipsis, ElideComma: true, Comment: comment})
		report_reflect.go#L344: 			list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(line), ElideComma: true})
		report_reflect.go#L346: 		list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
		report_slices.go#L168: 				return textRecord{Diff: d, Value: textLine(s)}
		report_slices.go#L195: 		list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
		report_slices.go#L197: 			if !r.Value.Equal(textEllipsis) {
		report_slices.go#L198: 				line, _ := strconv.Unquote(string(r.Value.(textLine)))
		report_slices.go#L221: 				r.Value = textLine(line)
		report_slices.go#L230: 		if r := list2[len(list2)-1]; r.Diff == diffIdentical && len(r.Value.(textLine)) == 0 {
		report_slices.go#L233: 		list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
		report_slices.go#L258: 				return textRecord{Diff: d, Value: textLine(s)}
		report_slices.go#L275: 				return textRecord{Diff: d, Value: textLine(s), Comment: comment}
		report_slices.go#L315: 				return textRecord{Diff: d, Value: textLine(s)}
		report_text.go#L145: 	Value      textNode     // textWrap | textLine
		report_text.go#L155: 	if len(*s) == 0 || !(*s)[len(*s)-1].Value.Equal(textEllipsis) {
		report_text.go#L157: 			*s = append(*s, textRecord{Value: textEllipsis, ElideComma: true, Comment: ds})
		report_text.go#L159: 			*s = append(*s, textRecord{Value: textEllipsis, ElideComma: true})
		report_text.go#L174: 		n += r.Value.Len()
		report_text.go#L189: 			if !(r1.Diff == r2.Diff && r1.Key == r2.Key && r1.Value.Equal(r2.Value) && r1.Comment == r2.Comment) {
		report_text.go#L216: 		b, s[i].Value = r.Value.formatCompactTo(b, d|r.Diff)
		report_text.go#L217: 		if _, ok := s[i].Value.(textLine); !ok {
		report_text.go#L241: 			_, isLine := r.Value.(textLine)
		report_text.go#L248: 			_, isLine := r.Value.(textLine)
		report_text.go#L249: 			return !isLine || r.Value.Equal(textEllipsis) || r.Comment == nil
		report_text.go#L251: 		func(r textRecord) int { return utf8.RuneCount(r.Value.(textLine)) },
		report_text.go#L259: 		_, isLine := r.Value.(textLine)
		report_text.go#L276: 			line := r.Value.(textLine)
		report_text.go#L297: 		b = r.Value.formatExpandedTo(b, d|r.Diff, n)